package com.bridgeofmodel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bridgeofmodel.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    // 自定义SQL（可选）：
    @Select("SELECT * FROM user WHERE username = #{username}")
    User selectByUsername(String username);

    // 其他扩展方法...
}
